<!-- File: app/views/customers/edit.ctp -->
<div class="row-fluid sortable">
	<div class="box span12">
		<div class="box-header" data-original-title>
			<h2>
				<i class="icon-edit"></i><span class="break"></span>Edit Customer
			</h2>
			<div class="box-icon">
			<?php echo $this->Html->link('<i class="halflings-icon remove"></i>', array('controller' => 'customers', 'action' => 'index'), array('escape' => FALSE)); ?>
			</div>
		</div>
		<div class="box-content">
			
			
		<?php
		echo $this->Form->create('Customer', array('action' => 'edit','class'=>'form-horizontal','inputDefaults' => array('error' => array('class' => 'help-inline'))));
		
		echo $this->Form->input('company_name',array('label'=>'Company Name','div'=>array('class'=>'control-group')));

		echo $this->Form->input('address',array('label'=>'Address','div'=>array('class'=>'control-group')));

		echo $this->Form->input('phone',array('label'=>'Phone','div'=>array('class'=>'control-group')));

		echo $this->Form->input('customer_staff',array('label'=>'Staff','div'=>array('class'=>'control-group')));

		echo $this->Form->input('customer_manager',array('label'=>'Manager','div'=>array('class'=>'control-group')));

		echo $this->Form->input('create_by', array('type' => 'hidden','value'=>$staffs_staffid));
		
		echo $this->Form->input('customer_id', array('type' => 'hidden'));
		
		echo $this->Form->submit('Update',array('class'=>'btn btn-primary'));

		?>

		</div>
	</div>
</div>